package com.gm.springboot.bean;

/**
 * @Author Administrator
 * @Date 2020/7/2 17:19
 **/
public class Major {
    private int mid;
    private String mname;
    private String mdesc;

    public Major() {
    }

    public Major(int mid, String mname, String mdesc) {
        this.mid = mid;
        this.mname = mname;
        this.mdesc = mdesc;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMdesc() {
        return mdesc;
    }

    public void setMdesc(String mdesc) {
        this.mdesc = mdesc;
    }

    @Override
    public String toString() {
        return "Major{" +
                "mid=" + mid +
                ", mname='" + mname + '\'' +
                ", mdesc='" + mdesc + '\'' +
                '}';
    }
}
